package com.zengdb.mybatis.query;

import lombok.Getter;
import lombok.Setter;


/**
 * User的查询对象 
 * @author zengdb
 *
 */
@Getter@Setter
public class QueryObject {
	
	private String keyword;
	private Integer beginAge;
	private Integer endAge;
	private Integer currentPage;
	private Integer pageSize;
	
	public Integer getStart(){
		return (this.currentPage - 1) * this.pageSize;
	}
}
